﻿//#define TEST_SDK

#if UNITY_EDITOR && !TEST_SDK

using Cysharp.Threading.Tasks;

namespace KuiHuaBaoDian.SDK {

    public static partial class API {

        private partial class Implementation {

            public UniTask<IAPI.ILoginResult> Login() {
                var loginResult = new LoginResult() {
                    Version = UnityEngine.Application.version,
                    EnvVersion = "trial",
                };
                //feature.AddShare(m_FeatureSetting.Share);
                //feature.AddSideBar(m_FeatureSetting.SideBar);
                //feature.AddDesktop(m_FeatureSetting.Desktop);
                //feature.AddGameClub(m_FeatureSetting.GameClub);
                //feature.AddMiniProgram(m_FeatureSetting.AddMiniProgram);
                //feature.AddSubscribe(m_FeatureSetting.Subscribe);
                return UniTask.FromResult<IAPI.ILoginResult>(loginResult);
            }
        }
    }
}
#endif
